using AdminSystem.API.DTOs;

namespace AdminSystem.API.Services
{
    public interface IContentService
    {
        Task<List<ContentDto>> GetAllContentsAsync();
        Task<ContentDto?> GetContentByIdAsync(int id);
        Task<ContentDto> CreateContentAsync(CreateContentDto createContentDto, int authorId);
        Task<ContentDto?> UpdateContentAsync(int id, UpdateContentDto updateContentDto);
        Task<bool> DeleteContentAsync(int id);
        Task<bool> PublishContentAsync(int id);
        Task<bool> UnpublishContentAsync(int id);
    }
}
